<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head><title>Struts 2 Training Materials</title>
</head>

<body>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<div align="center">
    <center>
        <table border="1" cellspacing="1" width="400">
            <tr>
                <td width="390"><font size="4"><b>Struts 2 Configure Tag Libraries</b></font></td>
            </tr>
            <tr>
                <td width="384">
                    <ul>
                        <li>
                            <a href="#">Using taglibs</a>
                            <br>
                            Define the below taglib uri in jsp scriplets.
                            <br>
                            taglib uri="/struts-tags" prefix="s"
                            <br>
                            - Struts 2 tag lib can be divided into two types.
                            <br> - Generic Tags and Struts UI tags
                            <br> - Generic Tags are divided into Control Tags (ex: if , elseif, iterator)  and Data Tags (action, bean, date)
                            <br> - UI tags has form tags such as form, select, submit, non-form UI tags such as actionerror, actionmessage and Ajax tags such as auto completer.
                        </li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="${root}/index.jsp">HOME</a>
                </td>
            </tr>
        </table>
    </center>
</div>
</body>
</html>